<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Nice</title>
<link rel="stylesheet"
	href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/dark-hive/jquery-ui.css"
	type="text/css" media="all" />
<script
	src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
	src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<link rel="stylesheet" href="/css/web.css" type="text/css" />
</head>
<body>

	<h1>Show Items:</h1>
	<ul class="products">
		<c:forEach var="item" items="${items}">
			<li>
				<a
					href="/admin/serve?itemId=<c:out value="${item.keyString}"></c:out>"
					target="_blank"> <img
					src='/admin/image?itemId=<c:out value="${item.keyString}"></c:out>'
					alt="show image">
				</a>
				<h4>
					<c:out value="${item.name}"></c:out>
				</h4>
				<div><c:out value="${item.description}"></c:out></div>
			</li>
		</c:forEach>
	</ul>
</body>
</html>